home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
441
/
fplib20
/
atof.c
next >
Wrap
C/C++ Source or Header
|
1990-11-23
|
408b
|
20 lines
/* ATOF function for Sozobon C. */
/* Copyright © David Brooks, 1989 All Rights Reserved */
/* Hack warning. Hack warning. Hack warning... */
/* Somehow I feel scanf should call atof, not the other way around. */
/* Guys??? */
float atof(s)
char *s;
{ float res;
sscanf(s, "%g", &res);
return res;
}
_scandum()
{
_scanf(); /* Force floating version to load */
}